const Layout = () => import("@/layout/index.vue");

export default {
  path: "/",
  name: "Role",
  component: Layout,
  redirect: "/role",
  meta: {
    icon: "user",
    title: "角色管理",
    rank: 4
  },
  children: [
    {
      path: "/admin",
      name: "AdminTable",
      component: () => import("@/views/admin/index.vue"),
      meta: {
        title: "管理员管理"
      }
    },
    {
      path: "/securityMan",
      name: "SecurityManTable",
      component: () => import("@/views/securityMan/index.vue"),
      meta: {
        title: "安保管理"
      }
    },
    {
      path: "/repairman",
      name: "RepairmanTable",
      component: () => import("@/views/repairman/index.vue"),
      meta: {
        title: "维修员管理"
      }
    },
    {
      path: "/resident",
      name: "ResidentTable",
      component: () => import("@/views/resident/index.vue"),
      meta: {
        title: "住户管理"
      }
    }
  ]
} as RouteConfigsTable;
